<?php
$json['id'] = $this->captchaId;
$json['imageTag'] = $this->imageTag;
echo Zend_Json::encode($json);